"""
家具 | 业务层
"""

from biz.base_biz import ValidatorBase
from models.po import FamilyFurniturePO
from service import FamilyFurnitureService


class Model:
    """ 模型信息 """

    ID_FIELD: str = "furniture_id"
    NAME: str = "家具"
    PO = FamilyFurniturePO
    SERVICE = FamilyFurnitureService


class FamilyFurnitureValidator(ValidatorBase):
    """ 家具 | 校验器 """

    model_id_field = Model.ID_FIELD
    model_name = Model.NAME
    model_po = Model.PO
    model_service = Model.SERVICE
